package com.un.ebs.question.service;

import com.un.ebs.core.metadata.ServiceFunctionExt;
import com.un.ebs.core.metadata.ServiceInfoExt;
import com.un.ebs.core.util.WebResult;
import com.un.ebs.core.util.WebUtils;
import com.un.ebs.question.dto.QuestionAuditRequest;
import org.springframework.stereotype.Service;

/**
 * <p>
 *
 * </p>
 *
 * @author liubo
 * @create 2021-06-17 17:38
 */
@Service
@ServiceInfoExt(value = "bf1302b4330d96df05ed2645c4aaaf5d", functionName = "audit")
public class QuestionAuditServiceExt implements ServiceFunctionExt<QuestionAuditRequest, WebResult> {

    @Override
    public WebResult exec(QuestionAuditRequest arg) {
        System.out.println(arg.getId());
        System.out.println(arg.getRemark());
        return WebUtils.success(arg);
    }
}
